<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/fn.tld" prefix="fn" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/core.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/customTaglib.tld" prefix="ct" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>我的订单-酒店订单</title>
<link href="orderManager/member/css/login.css" rel="stylesheet" type="text/css" />
<LINK href="orderManager/member/css/header-min.css" rel=stylesheet>
<SCRIPT src="orderManager/member/css/header-v7-min.js"></SCRIPT>
<script type="text/javascript" src="orderManager/member/css/sdmenu.js">	</script>
<script type="text/javascript" src="/script/My97DatePicker/WdatePicker.js" defer="defer"></script>
</head>

<body>
<jsp:include page="/pub_head.jsp"></jsp:include>
	<!-- 中间 -->
	
	<div id="page-container">
<form action="" method="post" style="margin: 0px;">
	  <div id="content" style="border: solid 1px #0183BD;"><div class="p16"><DIV class="tb-1">
  <table width="760" height="37">
	<tr>
		<td width="248" height="31" class="tdl">
		  <label>酒店名称：</label>
		  <input id="_fmt.q._0.b" size="15" name="_fmt.q._0.b" /></td>
		<td width="246" class="tdl"><label>住店日期：</label>
		  <input id="startTime" size="15" name="startTime" class="Wdate" onfocus="WdatePicker()" readonly="readonly" /></td>
		<td width="183" class="tdl"><label>其他排序：
		    <select id="select" name="select" value="value">
              <option value="All" selected="selected">全部</option>
              <option value="TAOBAO_INNER_SHOP">淘宝店铺</option>
            </select>
		</label></td>
	    <td width="63" class="tdl"><button class="button2" id="J_SearchOrders" type="submit">
		搜索</button></td>
	</tr>
	<!-- add -->
</table>
      </DIV></div>
	  <div id="listbb">
	  <div align="center">
        <table class="tablet" cellspacing="1" cellpadding="3" border="0">
          <tr align="right">
            <td class="tdt" height="128">
            <table cellpadding="0" cellspacing="0" width="740">
                <tr>
                 <td width="100" class="tdi"><span class="black-text">订单编号</span></td>
                  <td width="148" class="tdi"><span class="black-text">酒店名称</span></td>
                  <td width="183" class="tdi">住店日期</td>
                  <td width="106" class="tdi">预定间数</td>
                  <td width="113" class="tdi">房型</td>
                  <td width="109" class="tdi">付款方式</td>
                  <td width="109" class="tdi">支付总价</td>
                </tr>
            </table>
            </td>
          </tr>
          <logic:iterate id="order" name="orders" indexId="index">
          <tr>
            <td width="731" height="30">
			<table cellpadding="0" cellspacing="0" width="740">
                <tr>
                <td width="100"><span class="black-text"><a href="/hotel/get.do?id=${order.orderId }" class="ck">${order.orderId }</a></span></td>
                  <td width="148"><span class="black-text">${order.hotelName }</span></td>
                  <td width="183">${fn:trim(order.checkInDate)}<br/>${fn:trim(order.checkOutDate)}</td>
                  <td class="tdi" width="106"><span class="tkcg">${order.numberOfRooms }间</span></td>
                  <td class="tdi" width="113"><span class="jg"><span class="STYLE2">${order.roomType }</span></span></td>
                  <td width="109" class="tdi">前台现付</td>
                  <td class="tdi" width="109"><a class="ck" href="javascript:void(0);">&yen;
                  <fmt:formatNumber value="${order.totalSalePrice}" pattern="#.##"></fmt:formatNumber>
                  </a></td>
                </tr>
            </table></td>
          </tr>
          </logic:iterate>
	    </table>
      </div>
	</div>
	<div id="xm">
	     <!--<div class="sabrosus">
  	    	<select name="page" onchange="javascript:document.forms[0].submit();">
  	    	<c:forEach var="t" begin="1" end="${page.totalPage}">
  	    	<option value="${t}" 
  	    	<c:if test="${page.pageIndex==t}">
  	    		selected="selected"
  	    	</c:if>
  	    	> 第${t}页</option>
			</c:forEach>
  	    	</select>
  	    </div>-->
	  <div id="hbfk"></div>
	  <div class="sabrosus"><ct:Pagination pageSize="${page.pageSize}" pageNo="${page.pageIndex}" totalRows="${page.recordCount}"/></div>
  	  <!-- <div class="sabrosus"><span class="disabled">首页</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a>...<a href="#?page=199">下一页</a><a href="#?page=2">尾页</a><span class="abc">到第
  	    <input id="J_PageNum"  class="xminput" name="pageNum" />
  	    页
  	    <input name="Submit23" type="submit" class="buttonss" value="确定" />
  	    </span></div> -->
	  </div>
	</div>
</form>		
	
<iframe id="frmLeft" name="frmLeft" src="/orderManager/left_buy.jsp" width="154" height="650" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
 
	
</div>
	<!-- 脚部 http://www.zemoitu.com/footer.jsp<iframe id="frmFoot" name="frmFoot" src="/footer.jsp" width="950" height="280" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>--> 
 
<div id="page-container">
<%@include file="/footer.jsp" %>
</div>

	</body>
</html>

